package global.com.loansapplication.ui.actviity.user.contract;


import android.content.Context;

import java.util.List;

import global.com.loansapplication.base.BasePresenter;
import global.com.loansapplication.base.BaseView;
import global.com.loansapplication.bean.CustomInfo;
import global.com.loansapplication.bean.VoiceListInfo;
import okhttp3.RequestBody;

/**
 * Created by Administrator on 2017/10/21.
 */

public interface CustomContract {

    interface View extends BaseView {
        void upDateUI(CustomInfo customInfo);

        void setCol(boolean isCol, String uid);

        void showSuccess();

        void checkPay(int useCount);

        void showSelectVoice(List<VoiceListInfo> mVoiceListInfoList);

        void showFalseSelectVoice();

        RequestBody getSelectVoice();

        Context curContext();
    }

    interface Presenter extends BasePresenter {
        void addCollection(String uid);

        void delCollection(String studentCode);

        void getInfo(String studentCode, String useable);

        void getPayInfo(String studentCode, String useable);

        void getOrderId(String studentCode, String orderAmount);

        void selectVoice();

    }
}
